/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.web30.idm.service;

import java.util.List;
import org.web30.idm.model.IDMException;
import org.web30.idm.model.Web30Person;

/**
 *
 * @author Xia Zhenyu
 */
public interface AccountService {

    public void addUsers(List users) throws IDMException;

    public void addUser(Web30Person p) throws IDMException;

    public void resetPassword(Web30Person p, String newPassword, java.lang.String oldPassword) throws IDMException;

    public void deleteAccount(Web30Person p) throws IDMException;

    public void activeUser(Web30Person p, String organizationName) throws IDMException;

    public void disableUser(Web30Person p, String organizationName) throws IDMException;
}
